//
//  SMMoneyModel.h
//  SaveMoney
//
//  Created by user on 2018/11/26.
//  Copyright © 2018年 Sunflower. All rights reserved.
//

#import "JKDBModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef enum SaveMoneyType {
    SMFixation  = 0,
    SMFreedom = 1,
    SMEverFreedom = 2
} SMMoneyType;

@interface SMMoneyModel : JKDBModel

/** 存钱模式 */
@property (nonatomic, assign) SMMoneyType saveMoneyType;

/** 存钱目的描述 */
@property (nonatomic, copy) NSString *saveMoneyTitle;

/** 需要存多少钱 */
@property (nonatomic, assign) NSInteger totalMoney;

/** 存钱天数 */
@property (nonatomic, assign) NSInteger saveMoneyDay;

/** 已存金额 */
@property (nonatomic, assign) NSInteger alreadyMoney;

/** 每天需存金额 */
@property (nonatomic, assign) NSInteger everyDayMoney;

/** 背景图 */
@property (nonatomic, copy) NSString *backImage;

/** 创建时间 */
@property (nonatomic, copy) NSString *creationTime;

/** 用户标识 */
@property (nonatomic, copy) NSString *userKey;

/** 是否还需要存款 */
@property (nonatomic, assign) BOOL isSave;

@end

NS_ASSUME_NONNULL_END
